package DrawEngine
{
	import flash.display.BitmapData;
	
	//绘制单体信息（这是一个最小的绘制单位)
	public class DrawInfo
	{
		public var Id:int;
		
		public var xRect:int;
		public var yRect:int;
		public var wRect:int;
		public var hRect:int;
		  
		public var Source:String;
		public var xP:int;
		public var yP:int;
		
		
		//合成图片时，各个部位的相对位置，注意这个和整体的深度是不一样的
		public var depthRelative:int;
		//是否绘制
		public var IsDraw:Boolean;
		
		public function DrawInfo(_sourceName:String,_id:int,_xR:int,_yR:int,_wR:int,_hR:int,_xP:int,_yP:int)
		{
			Id = _id;
			IsDraw = true;
			Source = _sourceName;
			xRect = _xR;
			yRect = _yR;
			wRect = _wR;
			hRect = _hR;
			xP = _xP;
			yP = _yP;
		}
		
		
	}
}